/*
 * entry.h - Definició del punt d'entrada de les crides al sistema
 */

#ifndef __ENTRY_H__
#define __ENTRY_H__

/* Definicio dels handlers de les excepcions */

void divide_error_handler(); //0
void debug_handler(); //1
void nm1_handler(); //2
void breakpoint_handler();//3
void overflow_handler();//4
void bounds_check_handler();//5
void invalid_opcode_handler();//6
void device_not_avaible_handler(); //7
void double_fault_handler();//8
void coprocessor_segment_overrun_handler();//9
void invalid_tss_handler();//10
void segment_not_present_handler();//11
void stack_segment_handler(); //12
void general_protection_handler();//13
void page_fault_handler();//14
void reserved_handler();//15
void floating_point_error_handler();//16
void alignment_check_handler(); //17

//Definicio dels handlers de les interrupcions
void clock_handler(); //32
void keyboard_handler(); //33

//Definicio de les syscalls
void syscall_handler(); //128

#endif  /* __ENTRY_H__ */
